package com.zy.cat.entity.app;
/**
 * 
 * @info 九趣猫APP，新设备信息
 * @author Link
 * @date 2019-12-05 14:39
 */

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@Document
public class CatAppNewDeviceInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1314900680239363638L;

	@Id
	@ApiModelProperty(value = "九趣猫APP，新设备信息", example = "mtype_imei")
	private String id;
	
	@ApiModelProperty(value = "设备类型（0.安卓、1.IOS）", example = "0")
	private int mtype;
	
	@ApiModelProperty(value = "手机品牌", example = "")
	String brand="HONER";
	
	@ApiModelProperty(value = "手机品牌型号", example = "") 
	String model="ASL-10"; 
	
	@ApiModelProperty(value = "APP版本号", example = "") 
	String vscode="1001"; 
	
	@ApiModelProperty(value = "APP渠道号", example = "") 
	String cid="1001"; 
	
	@ApiModelProperty(value = "手机IMEI", example = "") 
	String imei="862052038380307"; 
	
	@ApiModelProperty(value = "手机IMSI", example = "") 
	String imsi="862052038380307"; 
	
	@ApiModelProperty(value = "创建时间", example = "") 
	String ctime="";

	public CatAppNewDeviceInfo(int mtype, String brand, String model, String vscode, String cid, String imei,
			String imsi, String ctime) {
		super();
		this.id = mtype+"_"+imei;
		this.mtype = mtype;
		this.brand = brand;
		this.model = model;
		this.vscode = vscode;
		this.cid = cid;
		this.imei = imei;
		this.imsi = imsi;
		this.ctime = ctime;
	}
}
